html,
body {
    width: 100%;
}

$num:0;
* {
    box-sizing: content-box;
    margin: $num auto;
}

a {
    text-decoration: none;
}

.w {
    width: 1200px;
    margin: $num auto;
}

img {
    vertical-align: top;
}

li {
    list-style: none;
}

.head {
    font-size: 16px;
    color: #555;
    background-color: #a19999;
    padding: 5px $num;
    .head-top {
        display: flex;
        width: 1200px;
        margin: $num auto;
        justify-content: space-between;
        ul li a {
            color: #666;
            padding: $num 15px;
            border-right: 1px solid #ccc;
            &:last-child {
                color: red;
                border: none;
            }
        }
    }
    .w {
        display: flex;
        justify-content: space-between;
    }
    .search {
        margin-right: 50px;
        line-height: 70px;
    }
    input {
        height: 30px;
        border: none;
        vertical-align: middle;
        width: 50px;
        border: 1px solid #ccc;
        outline: none;
        #txt1 {
            width: 200px;
            text-indent: 1em;
            outline: none;
        }
        #sea {
            cursor: pointer;
            padding: 0 10px;
        }
    }
}

.nav {
    .w {
        display: flex;
        justify-content: space-between;
    }
    ol {
        display: flex;
        justify-content: space-between;
        li a {
            padding: $num 20px;
            color: #fff;
            &:hover {
                color: red;
            }
        }
    }
    .book {
        margin-left: 30px;
        font-size: 20px;
    }
}